package com.t249.bdqn.renting.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.stereotype.Component;

import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import java.io.Serializable;

@Data
@Component
@TableName(value = "ret_user")
public class RetUser  implements Serializable {

    //id
    @TableId(value = "id", type = IdType.AUTO)
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @TableField("id")
    private Integer Id;

    //手机号码
    @TableField("phone")
    private String phone;

    //密码
    @TableField("password")
    private String password;

    //微信号
    @TableField("ret_weChat")
    private String wechat;

    //年龄
    @TableField("ret_age")
    private String age;

    //个性签名
    @TableField("ret_Signature")
    private String signature;

    //性别0:女 1:男
    @TableField("ret_Gender")
    private String gender;
}
